package com.evolution.control;

import com.evolution.model.World;
import com.evolution.view.WorldCanvas;

public class Controller {

	private World world;
	private WorldCanvas canvas;
	
	public Controller(World world,WorldCanvas canvas){
		this.world = world;
		this.canvas = canvas;
	}
	
	public World getWorld(){
		return world;
	}
	
	public void worldChanged(){
		canvas.repaint();
	}
}
